package io.renren.modules.com.service;

import java.io.OutputStream;
import java.util.List;
import java.util.Map;

import io.renren.common.utils.R;
import io.renren.modules.com.entity.ComCollectionRecordEntity;

/**
 * 
 * 
 * @author pfp
 * @email
 * @date 2017-07-24 10:18:12
 */
public interface ComCollectionRecordService {

	ComCollectionRecordEntity queryObject(Long serialNo);

	List<Map<String, Object>> queryList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);

	R save(ComCollectionRecordEntity comCollectionRecord);

	R update(ComCollectionRecordEntity comCollectionRecord);

	void delete(Long serialNo);

	void deleteBatch(Long[] serialNos);

	ComCollectionRecordEntity queryByContractNo(String contractNo);

	ComCollectionRecordEntity mimeograph(String billNo);

	void export(OutputStream out, Map<String, Object> map);

	R initialization();

	R changeJqGrid(String items);

	void test();

}
